package com.matt.foundation.dto.teach;

import com.matt.domain.ContractProduct;
import lombok.Data;

import javax.persistence.Column;
import java.util.Date;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/7/26
 * *******************************
 */
@Data
public class EarlyChangeRecordDTO {
    private String id;

    @Column(columnDefinition = " varchar(32)  COMMENT '宝宝id' ")
    private String childrenId;

//    @Column(columnDefinition = " int DEFAULT 0 COMMENT '记录类型， 0系统变更，1早教消费  2托班消费' ")
//    private Integer recordType;

    @Column(columnDefinition = " varchar(32)  COMMENT '来源id， 早教是childrenCourseItemId, 没有时为系统变更' ")
    private String sourceId;

    @Column(columnDefinition = " int DEFAULT 0 COMMENT '增量' ")
    private Integer delta = 0;

    @Column(columnDefinition = " int DEFAULT 0 COMMENT '现在剩余课时' ")
    private Integer nowCourseSize = 0;

    @Column(columnDefinition = " varchar(32)  COMMENT ' 操作人员id' ")
    private String operatorId;

    @Column(columnDefinition = " varchar(50)  COMMENT ' 操作人员姓名' ")
    private String operatorName;

    @Column(columnDefinition = " varchar(100)  COMMENT ' 备注信息' ")
    private String remark;

    @Column(columnDefinition = " datetime  COMMENT ' 课程时间 ' ")
    private Date created = new Date();

}
